package com.dk.fectory;

import com.dk.pojo.CodePart;
import com.dk.service.CodeService;
import org.springframework.stereotype.Component;

/**
 * @author zh
 * @Description TODO
 * @createTime 2023/4/20
 */
@Component
@CodeType(codeType = "FIXCHAR")//固定字符
public class FIXCHAR implements CodeService {


    @Override
    public String code(CodePart codePart) {

        return codePart.getFixCharacter();
    }
}
